import { Injectable } from '@nestjs/common';
import crypto from 'node:crypto';

@Injectable()
export class AppService {
  getHello(): string {
    return 'Hello , Mqtt Web Node !';
  }

  /**
   * 获取 RSA 公钥
   * @returns RSA 公钥字符串
   */
  getPublicKey() {
    return '123';
  }
}
